﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AccountingGui.Views;

namespace AccountingGui
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void cardFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = new CustomerCardForm();
            f.MdiParent = this;
            f.Show();
        }


        private void registerPaymentToolStripMenuItem_Click(object sender, EventArgs e)

        {
            Form f = new PaymentCardForm();
            f.MdiParent = this;
            f.Show();
        }

        private void paymentListFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = new PaymentListForm();
            f.MdiParent = this;
            f.Show();
        }

        private void listFormToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = new CustomerListForm();
            f.MdiParent = this;
            f.Show();
        }

        private void ordersToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void listFormToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Form f = new OrderListForm();
            f.MdiParent = this;
            f.Show();
        }
    }
}